package one.stand.request.live;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import one.stand.request.BaseRequest;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 关注短视频
 * @author luoyang
 * @date 2020/5/20 15:43
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AttentionUserFrom对象", description="关注短视频")
public class AttentionUserFrom  extends BaseRequest implements Serializable {

    @ApiModelProperty(value = "userid")
    @NotNull(message = "用户不能为空")
    private Integer userId;

    @ApiModelProperty(value = "视频id")
    @NotNull(message = "视频为空")
    private Integer videoId;

    @ApiModelProperty(value = "是否关注 默认 0 未关注  1已关注")
    private Integer attention;

    @ApiModelProperty(value = "是否点赞 默认 0 未点赞  1已点赞")
    private Boolean like;


}
